/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package RMI;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author TNT
 */
public interface Connect_interface extends Remote{
    public String[] getAllProduct() throws RemoteException;
    public String[] getProduct() throws RemoteException;
    public void addHelp(String email, String name, String question) throws RemoteException;
    public String[] getProductDetail(String ID) throws RemoteException;
    public String checkAdmin(String id, String password) throws RemoteException;
    public String[] searchProduct(String name, String provider,String cost) throws RemoteException;
    public String[] searchProduct(String keyword) throws RemoteException;
    public void editProduct(String id, String name, String provider, String cost, String detail, String state) throws RemoteException;
}
